        <div class="widget">
                <h5>相关信息</h5>
                <ul id="tabs">
                    <li class="active" style=""><a href="#tab1">相册简介</a></li>
                    <li><a href="#tab2">相片印象</a></li>
                </ul>
     
                <div id="tabs_content_container">
                    <div id="tab1" class="tab-content" style="display: block;">
                    	<div class="posts">
    								<p>
 								 	<?php 
 									
 										$file = File::model()->findByPk($model->media_pic_id);
 										$img = File::model()->generateFilePath($file,false, true);
 									
 									?>
 									<img id="media_folder" src="<?php echo $img;?>" style="width:100%;"/>
 								</p>
 								<hr class="clearfix" />
 								<p>相册名：<?php echo $model->media_name;?></p>
 								<p>创建时间：<?php echo date('Y年m月d日',$model->media_created);?></p>
 								<p>简介：<?php echo $model->media_describe;?></p>
 								<?php if (!Yii::app()->user->isGuest):?>
 								<p>更新：<a href="<?php echo Yii::app()->createUrl('/work/update', array('id'=>$model->media_id));?>">修改相册信息</a>
 												<a href="<?php echo Yii::app()->createUrl('/work/upload', array('id'=>$model->media_id));?>">上传相片</a>
 								</p>
 								<?php endif;?>
	 							<form method="post" id="comments-form">
				                    <textarea  style="width:210px;" name="message" title="Message">Message</textarea>
				                    <input type="submit" value="Add Comment" class="red" />
				                </form>
                	
                    	</div> 
                    </div>
                    <div id="tab2" class="tab-content" style="display: none;">
 						<div class="posts">
 						
 						</div>
                    </div>
                </div>
            </div>	